<?php /*a:1:{s:62:"/www/wwwroot/delivery.1p23.com/app/admin/view/index/index.html";i:1731041672;}*/ ?>
<!DOCTYPE html>
<html <?php if($config['elementUi']['dark']): ?>class="dark"<?php endif; ?>>
<head>
<meta charset="utf-8">
<title><?php echo site_config('basic.sitename'); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">
<meta name="referrer" content="never">
<meta name="robots" content="noindex, nofollow">
<link rel="shortcut icon" href="<?php echo request()->domain(); ?>/favicon.ico" />
<link rel="stylesheet" href="<?php echo request()->domain(); ?>/assets/css/element-plus.css" />
<link rel="stylesheet" href="<?php echo request()->domain(); ?>/assets/css/theme/dark.css" />
<link rel="stylesheet" href="<?php echo request()->domain(); ?>/assets/libs/font-awesome/css/font-awesome.min.css" />
<link rel="stylesheet" href="<?php echo request()->domain(); ?>/assets/css/index/common.css?v=<?php echo htmlentities((string) $config['version']); ?>" />
<link rel="stylesheet" href="<?php echo request()->domain(); ?>/assets/css/index/<?php echo htmlentities((string) $config['elementUi']['layout']); ?>.css?v=<?php echo htmlentities((string) $config['version']); ?>" />
</head>
<body>
<div id="app">
    <?php if($config['elementUi']['layout']=='classic'): ?>
    <el-container class="layout" id="container">
    <el-header v-show="!mainFrameExpand">
        <div class="header-lf">
            <div class="logo flx-center hide-600">
                <img class="logo-img" :src="logo_img" alt="logo" />
                <span class="logo-text"><?php echo htmlentities((string) $site['sitename']); ?></span>
            </div>
            <div class="tool-bar-lf">
                <i @click="elementUi.is_menu_collapse=!elementUi.is_menu_collapse;setMainContentFrame();" :class="['collapse-icon',elementUi.is_menu_collapse?'fa fa-indent':'fa fa-outdent']"></i>
                <Breadcrumb class="hide-800" v-if="elementUi.breadcrumb" :list="breadcrumb"></Breadcrumb>
            </div>
        </div>
        <div class="header-ri">
            <div class="tool-bar-ri">
                <Platform></Platform>
<?php if($auth->isSuperAdmin()): ?>
<Trash></Trash>
<?php endif; ?>
<Message></Message>
<Fullscreen></Fullscreen>
<Theme-setting></Theme-setting>
<Userinfo :admin='<?php echo json_encode($auth->userinfo()); ?>'></Userinfo>
            </div>
        </div>
    </el-header>
    <el-container class="classic-content">
        <el-aside v-show="documentWidth>600 || !elementUi.is_menu_collapse">
            <div class="aside-box" :style="{ width: elementUi.is_menu_collapse ? '65px' : documentWidth>600 ? '210px':(documentWidth-2)+'px'}">
                <el-scrollbar :height="menuHeight+'px'">
                    <el-menu
                            :default-active="activeMenu?activeMenu.id.toString():''"
                            :router="false"
                            :collapse="elementUi.is_menu_collapse"
                            :collapse-transition="false"
                            :unique-opened="true">
                           <Menulist :list="menuList" @onclickmenu="clickMenu"></Menulist>
                    </el-menu>
                </el-scrollbar>
            </div>
        </el-aside>
        <el-container class="classic-main" v-show="documentWidth>600 || elementUi.is_menu_collapse">
            <Tabs v-show="!mainFrameExpand && elementUi.tabs" ref="tabs"></Tabs>
            <el-main :class="mainFrameExpand?'expand':''">
                <div id="main-content" :style="mainFrameExpand?'width:100%;height:100%;':`width:${contentWidth}px;height:${contentHeight}px;`"></div>
                <div class="close-main-expand" v-if="mainFrameExpand" @click="minimize">
                    <i class="fa fa-close"></i>
                </div>
            </el-main>
            <el-footer v-if="elementUi.footer">
                <div class="footer flx-center">
    <a href="<?php echo request()->domain(); ?>" target="_blank"> <?php echo date('Y'); ?> © <span class="hide-600"><?php echo htmlentities((string) $site['sitename']); ?> By </span><?php echo htmlentities((string) $site['copyright']); ?>. </a>
</div>
            </el-footer>
        </el-container>
    </el-container>
</el-container>
    <?php endif; if($config['elementUi']['layout']=='vertical'): ?>
    <el-container class="layout" id="container">
    <el-aside v-show="documentWidth>600 || !elementUi.is_menu_collapse">
        <div class="aside-box" :style="{ width: elementUi.is_menu_collapse ? '65px' : documentWidth>600 ? '210px':(documentWidth-2)+'px'}">
            <div class="logo flx-center">
                <img class="logo-img" :src="logo_img" alt="logo" />
                <span v-if="!elementUi.is_menu_collapse" class="logo-text"><?php echo htmlentities((string) $site['sitename']); ?></span>
            </div>
            <el-scrollbar :height="menuHeight+'px'">
                <el-menu
                        :default-active="activeMenu?activeMenu.id.toString():''"
                        :router="false"
                        :collapse="elementUi.is_menu_collapse"
                        :collapse-transition="false"
                        :unique-opened="true">
                    <Menulist :list="menuList" @onclickmenu="clickMenu"></Menulist>
                </el-menu>
            </el-scrollbar>
        </div>
    </el-aside>
    <el-container v-show="documentWidth>600 || elementUi.is_menu_collapse">
        <el-header v-show="!mainFrameExpand">
            <div class="header-lf">
                <div class="tool-bar-lf">
                    <i @click="elementUi.is_menu_collapse=!elementUi.is_menu_collapse;setMainContentFrame();" :class="['collapse-icon',elementUi.is_menu_collapse?'fa fa-indent':'fa fa-outdent']"></i>
                    <Breadcrumb class="hide-800" v-if="elementUi.breadcrumb" :list="breadcrumb"></Breadcrumb>
                </div>
            </div>
            <div class="header-ri">
                <div class="tool-bar-ri">
                    <Platform></Platform>
<?php if($auth->isSuperAdmin()): ?>
<Trash></Trash>
<?php endif; ?>
<Message></Message>
<Fullscreen></Fullscreen>
<Theme-setting></Theme-setting>
<Userinfo :admin='<?php echo json_encode($auth->userinfo()); ?>'></Userinfo>
                </div>
            </div>
        </el-header>
        <Tabs v-show="!mainFrameExpand && elementUi.tabs" ref="tabs"></Tabs>
        <el-main :class="mainFrameExpand?'expand':''">
            <div id="main-content" :style="mainFrameExpand?'width:100%;height:100%;':`width:${contentWidth}px;height:${contentHeight}px;`"></div>
            <div class="close-main-expand" v-if="mainFrameExpand" @click="minimize">
                <i class="fa fa-close"></i>
            </div>
        </el-main>
        <el-footer v-if="elementUi.footer">
            <div class="footer flx-center">
    <a href="<?php echo request()->domain(); ?>" target="_blank"> <?php echo date('Y'); ?> © <span class="hide-600"><?php echo htmlentities((string) $site['sitename']); ?> By </span><?php echo htmlentities((string) $site['copyright']); ?>. </a>
</div>
        </el-footer>
    </el-container>
</el-container>
    <?php endif; if($config['elementUi']['layout']=='transverse'): ?>
    <el-container class="layout" id="container">
    <el-header v-show="!mainFrameExpand">
        <div class="logo flx-center hide-600">
            <img class="logo-img" :src="logo_img" alt="logo" />
            <span class="logo-text"><?php echo htmlentities((string) $site['sitename']); ?></span>
        </div>
        <el-menu
            mode="horizontal"
            :default-active="activeMenu?activeMenu.id.toString():''"
            :router="false"
            :unique-opened="true">
            <template v-for="menu in menuList">
                <template v-if="menu.childlist && menu.childlist.length>0">
                    <el-sub-menu :index="menu.id.toString()" :key="menu.id.toString()">
                        <template #title>
                            <i :class="menu.icon"></i>
                            <span class="sle">{{menu.title}}</span>
                        </template>
                        <Menulist :list="menu.childlist" @onclickmenu="clickMenu"></Menulist>
                    </el-sub-menu>
                </template>
                <template v-else>
                    <el-menu-item :index="menu.id.toString()" @click="clickMenu(menu)" :key="menu.id.toString()">
                        <i :class="menu.icon"></i>
                        <template #title>
                            <span class="sle">{{ menu.title }}</span>
                        </template>
                    </el-menu-item>
                </template>
            </template>
        </el-menu>
        <div class="tool-bar-ri">
            <Platform></Platform>
<?php if($auth->isSuperAdmin()): ?>
<Trash></Trash>
<?php endif; ?>
<Message></Message>
<Fullscreen></Fullscreen>
<Theme-setting></Theme-setting>
<Userinfo :admin='<?php echo json_encode($auth->userinfo()); ?>'></Userinfo>
        </div>
    </el-header>
    <el-container class="classic-main is-vertical">
        <Tabs v-show="!mainFrameExpand && elementUi.tabs" ref="tabs"></Tabs>
        <el-main :class="mainFrameExpand?'expand':''">
            <div id="main-content" :style="mainFrameExpand?'width:100%;height:100%;':`width:${contentWidth}px;height:${contentHeight}px;`"></div>
            <div class="close-main-expand" v-if="mainFrameExpand" @click="minimize">
                <i class="fa fa-close"></i>
            </div>
        </el-main>
        <el-footer v-if="elementUi.footer">
            <div class="footer flx-center">
    <a href="<?php echo request()->domain(); ?>" target="_blank"> <?php echo date('Y'); ?> © <span class="hide-600"><?php echo htmlentities((string) $site['sitename']); ?> By </span><?php echo htmlentities((string) $site['copyright']); ?>. </a>
</div>
        </el-footer>
    </el-container>
</el-container>
    <?php endif; if($config['elementUi']['layout']=='columns'): ?>
    <el-container class="layout" id="container">
    <div class="aside-split" v-show="documentWidth>600 || !elementUi.is_menu_collapse">
        <div class="logo flx-center">
            <img class="logo-img" :src="logo_img" alt="logo" />
        </div>
        <el-scrollbar :height="menuHeight+'px'">
            <div class="split-list">
                <div
                    v-for="(menu,index) in menuList"
                    :key="menu.url"
                    :class="['split-item',isChildMenu(menu.id)?'split-active':'']"
                    @click="changeSubMenu(menu)">
                    <i :class="menu.icon"></i>
                    <span class="title">{{ menu.title }}</span>
                </div>
            </div>
        </el-scrollbar>
    </div>
    <el-aside v-show="documentWidth>600 || !elementUi.is_menu_collapse" :class="{ 'not-aside': !childMenuList.length }" :style="{ width: elementUi.is_menu_collapse ? '65px' : documentWidth>600 ? '210px':(documentWidth-2)+'px'}">
        <div class="logo flx-center">
            <template v-if="elementUi.is_menu_collapse">
                <span class="logo-text"><?php echo mb_substr($site['sitename'],0,1); ?></span>
            </template>
            <template v-else>
                <span class="logo-text"><?php echo htmlentities((string) $site['sitename']); ?></span>
            </template>
        </div>
        <el-scrollbar :height="menuHeight+'px'">
            <el-menu
                    :default-active="activeMenu?activeMenu.id.toString():''"
                    :router="false"
                    :collapse="elementUi.is_menu_collapse"
                    :collapse-transition="false"
                    :unique-opened="true">
                    <Menulist :list="childMenuList" @onclickmenu="clickMenu"></Menulist>
            </el-menu>
        </el-scrollbar>
    </el-aside>
    <el-container v-show="documentWidth>600 || elementUi.is_menu_collapse">
        <el-header v-show="!mainFrameExpand">
            <div class="tool-bar-lf">
                <i @click="elementUi.is_menu_collapse=!elementUi.is_menu_collapse;setMainContentFrame();" :class="['collapse-icon',elementUi.is_menu_collapse?'fa fa-indent':'fa fa-outdent']"></i>
                <Breadcrumb class="hide-800" v-if="elementUi.breadcrumb" :list="breadcrumb"></Breadcrumb>
            </div>
            <div class="tool-bar-ri">
                <Platform></Platform>
<?php if($auth->isSuperAdmin()): ?>
<Trash></Trash>
<?php endif; ?>
<Message></Message>
<Fullscreen></Fullscreen>
<Theme-setting></Theme-setting>
<Userinfo :admin='<?php echo json_encode($auth->userinfo()); ?>'></Userinfo>
            </div>
        </el-header>
        <el-container class="classic-main is-vertical">
            <Tabs v-show="!mainFrameExpand && elementUi.tabs" ref="tabs"></Tabs>
            <el-main :class="mainFrameExpand?'expand':''">
                <div id="main-content" :style="mainFrameExpand?'width:100%;height:100%;':`width:${contentWidth}px;height:${contentHeight}px;`"></div>
                <div class="close-main-expand" v-if="mainFrameExpand" @click="minimize">
                    <i class="fa fa-close"></i>
                </div>
            </el-main>
            <el-footer v-if="elementUi.footer">
                <div class="footer flx-center">
    <a href="<?php echo request()->domain(); ?>" target="_blank"> <?php echo date('Y'); ?> © <span class="hide-600"><?php echo htmlentities((string) $site['sitename']); ?> By </span><?php echo htmlentities((string) $site['copyright']); ?>. </a>
</div>
            </el-footer>
        </el-container>
    </el-container>
</el-container>
    <?php endif; ?>
    <template v-for="(layer,index) in layerList">
        <el-dialog
            v-model="layer.show"
            :draggable="true"
            :close-on-click-modal="false"
            :close-on-press-escape="false"
            :custom-class="'layer-dialog'"
            :modal="calculateLayerIndex(index)"
            :show-close="false"
            :width="layer.width"
            :fullscreen="layer.expand">
            <template #header>
                <div class="custom-dialog-header">
                    <span class="custom-dialog-title"><i :class="layer.icon"></i>&nbsp;{{ layer.title }}</span>
                    <div class="custom-dialog-buttons">
                        <i class="fa fa-minus custom-dialog-minimize"  @click="hideLayer(layer);"></i>
                        <i class="fa fa-expand custom-dialog-maximize"
                           v-if="!layer.expand"
                           @click="layerExpand(layer)">
                        </i>
                        <i class="fa fa-compress custom-dialog-maximize"
                           v-else
                           @click="layerExpand(layer)">
                        </i>
                        <i class="fa fa-close custom-dialog-close"
                           @click="closeLayer(layer.id)">
                        </i>
                    </div>
                </div>
            </template>
            <template #default>
                <iframe :src="layer.url" :id="'layer-'+layer.id" class="layer-iframe" width="100%" :height="layer.expand?layerExpandHeight:layer.height" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling-x="no" scrolling-y="auto" allowtransparency="yes"></iframe>
            </template>
        </el-dialog>
    </template>
    <el-image-viewer
            v-if="imageList.length>0"
            :hide-on-click-modal="true"
            :url-list="imageList"
            @close="imageList=[]"
            :initial-index="0">
    </el-image-viewer>
</div>
</body>
<script type="text/javascript" src="<?php echo request()->domain(); ?>/assets/js/yunqi.js?v=<?php echo htmlentities((string) $config['version']); ?>"></script>
<script type="text/javascript">
    Yunqi.setConfig(<?php echo json_encode($config,JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES); ?>);
    Yunqi.setData(<?php echo build_var_json(get_defined_vars()); ?>);
</script>
<script type="module">
    import pageinfo from '<?php echo request()->domain(); ?>/assets/js/index.js?v=<?php echo htmlentities((string) $config['version']); ?>';
    import zhcn from '<?php echo request()->domain(); ?>/assets/js/zh-cn.js';
    try{
        Yunqi.setUp(pageinfo,zhcn);
    }catch (e){
        console.error(e);
    }
</script>
</html>